message(STATUS "[nlua] lua fetching ...")
FetchContent_Declare(
  lua
  URL https://github.com/lua/lua/archive/refs/tags/v5.4.6.tar.gz
  URL_HASH SHA256=11c228cf9b9564d880b394f8069ad829d01e39756567f79c347a6b89fed44771
  PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/LuaCMakeLists.txt CMakeLists.txt
  DOWNLOAD_NO_PROGRESS TRUE
  OVERRIDE_FIND_PACKAGE)

list(APPEND MY_LIBS lua)
